package com.finer.entity.buy;

import java.util.Date;
import java.io.Serializable;

/**
 * 采购订单表(BuyOrder)实体类
 *
 * @author makejava
 * @since 2024-10-21 10:20:36
 */
public class BuyOrder implements Serializable {
    private static final long serialVersionUID = 812053020832831204L;
    /**
     * 主键id.
     */
    private Integer id;
    /**
     * 单据编号.
     */
    private String code;
    /**
     * 源单号.
     */
    private String sourceCode;
    /**
     * 供应商id.
     */
    private Integer supplierId;
    /**
     * 用户id.
     */
    private Integer userId;
    /**
     * 采购类型.
     */
    private Integer buyTypeId;
    /**
     * 数量.
     */
    private Integer total;
    /**
     * 金额.
     */
    private Double money;
    /**
     * 已入库数量.
     */
    private Integer alreadyStoreTotal;
    /**
     * 结算金额.
     */
    private Integer payMoney;
    /**
     * 已结算金额.
     */
    private Double alreadyPayMoney;
    /**
     * 单据阶段.
     */
    private String docStage;
    /**
     * 审批结果.
     */
    private Integer approvalResult;
    /**
     * 是否生效.
     */
    private Integer isEffect;
    /**
     * 是否关闭.
     */
    private Integer isClose;
    /**
     * 是否作废.
     */
    private Integer isCancel;
    /**
     * 创建人.
     */
    private Integer createBy;
    /**
     * 创建时间.
     */
    private Date createDate;
    /**
     * 修改人.
     */
    private Integer modifyBy;
    /**
     * 修改时间.
     */
    private Date modifyDate;
    /**
     * 是否删除(0:未删除 1:删除).
     */
    private Integer isDel;



    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getSourceCode() {
        return sourceCode;
    }

    public void setSourceCode(String sourceCode) {
        this.sourceCode = sourceCode;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getBuyTypeId() {
        return buyTypeId;
    }

    public void setBuyTypeId(Integer buyTypeId) {
        this.buyTypeId = buyTypeId;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Integer getAlreadyStoreTotal() {
        return alreadyStoreTotal;
    }

    public void setAlreadyStoreTotal(Integer alreadyStoreTotal) {
        this.alreadyStoreTotal = alreadyStoreTotal;
    }

    public Integer getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(Integer payMoney) {
        this.payMoney = payMoney;
    }

    public Double getAlreadyPayMoney() {
        return alreadyPayMoney;
    }

    public void setAlreadyPayMoney(Double alreadyPayMoney) {
        this.alreadyPayMoney = alreadyPayMoney;
    }

    public String getDocStage() {
        return docStage;
    }

    public void setDocStage(String docStage) {
        this.docStage = docStage;
    }

    public Integer getApprovalResult() {
        return approvalResult;
    }

    public void setApprovalResult(Integer approvalResult) {
        this.approvalResult = approvalResult;
    }

    public Integer getIsEffect() {
        return isEffect;
    }

    public void setIsEffect(Integer isEffect) {
        this.isEffect = isEffect;
    }

    public Integer getIsClose() {
        return isClose;
    }

    public void setIsClose(Integer isClose) {
        this.isClose = isClose;
    }

    public Integer getIsCancel() {
        return isCancel;
    }

    public void setIsCancel(Integer isCancel) {
        this.isCancel = isCancel;
    }

    public Integer getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(Integer modifyBy) {
        this.modifyBy = modifyBy;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

}

